package cn.wolfcode.luowowo.article.service.impl;

import cn.wolfcode.luowowo.article.domain.CityRegion;
import cn.wolfcode.luowowo.article.mapper.CityRegionMapper;
import cn.wolfcode.luowowo.article.service.ICityRegionService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class CityRegionServiceImpl implements ICityRegionService {

    @Autowired
    private CityRegionMapper cityRegionMapper;

    @Override
    public List<CityRegion> queryByDestId(Long destId) {
        return cityRegionMapper.selecyByDestId(destId);
    }
}
